﻿@using Classified.Web.Models
@model Classified.Domain.Entities.QueuedEmail
@{
    ViewBag.Title = "Reply to" + Model.To;
    Layout = "~/Areas/Admin/Views/Shared/_Layout.cshtml";
   
}
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
<div class="well">
    @using (Html.BeginForm("ReplyToSender", "Admin"))
    {
       
     
        @Html.HiddenFor(model => model.CreatedOnUtc)
        <div class="clearfix">
            @Html.LabelFor(model => model.To)
            <div class="input">
                @Html.TextBoxFor(model => model.To, new { @class = "span6" })
                @Html.ValidationMessageFor(model => model.To)
            </div>
        </div>
        @*<div class="clearfix">
            @Html.LabelFor(model => model.CC)
            <div class="input">
               @Html.TextBoxFor(model => model.CC, new { @class = "span6" })
                @Html.ValidationMessageFor(model => model.CC)
            </div>
        </div>
        <div class="clearfix">
            @Html.LabelFor(model => model.Bcc)
            <div class="input">
                @Html.TextBoxFor(model => model.Bcc, new {@class = "span6" })
                @Html.ValidationMessageFor(model => model.Bcc)
            </div>
        </div>*@
        <div class="clearfix">
            @Html.LabelFor(model => model.Subject)
            <div class="input">
                @Html.TextBoxFor(model => model.Subject, new { @class = "span6" })
                @Html.ValidationMessageFor(model => model.Subject)
            </div>
        </div>
        <div class="clearfix">
            @Html.LabelFor(model => model.Body)
            <div class="input">
                @Html.TextAreaFor(model => model.Body,new{@rows="15",@class="span6"})
                @Html.ValidationMessageFor(model => model.Body)
            </div>
        </div>
       @* @Html.Partial("_Captcha", new Captcha())
        @Html.Partial("_InvisibleCaptcha", new InvisibleCaptcha())*@
        <div class="form-actions">
            <input type="submit" class="btn btn-info" value="Send" />
        </div>
      
    }
</div>
